.lm-button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    -webkit-transition: 0.1s;
    transition: 0.1s;
    font-weight: 500;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
}

.lm-button-center {
    display: flex;
    justify-content: center;
    align-content: center;
}

.lm-button+.lm-button {
    margin-left: 10px;
}

.lm-button:focus,
.lm-button:hover {
    color: #409EFF;
    border-color: #c6e2ff;
    background-color: #ecf5ff;
}

.lm-button:active {
    color: #3a8ee6;
    border-color: #3a8ee6;
    outline: 0;
}

.lm-button.is-disabled,
.lm-button.is-disabled:focus,
.lm-button.is-disabled:hover {
    color: #c0c4cc;
    cursor: not-allowed;
    background-image: none;
    background-color: #fff;
    border-color: #ebeef5;
}

.lm-button-primary {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}

.lm-button-primary:focus,
.lm-button-primary:hover {
    background: #66b1ff;
    border-color: #66b1ff;
    color: #fff;
}

.lm-button-primary.is-disabled,
.lm-button-primary.is-disabled:active,
.lm-button-primary.is-disabled:focus,
.lm-button-primary.is-disabled:hover {
    color: #fff;
    background-color: #a0cfff;
    border-color: #a0cfff;
}

.lm-button-success {
    color: #fff;
    background-color: #67c23a;
    border-color: #67c23a;
}

.lm-button-success:focus,
.lm-button-success:hover {
    background: #85ce61;
    border-color: #85ce61;
    color: #fff;
}

.lm-button-success.is-active,
.lm-button-success:active {
    background: #5daf34;
    border-color: #5daf34;
    color: #fff;
}

.lm-button-success:active {
    outline: 0;
}

.lm-button-success.is-disabled,
.lm-button-success.is-disabled:active,
.lm-button-success.is-disabled:focus,
.lm-button-success.is-disabled:hover {
    color: #fff;
    background-color: #b3e19d;
    border-color: #b3e19d;
}

.lm-button-warning {
    color: #fff;
    background-color: #e6a23c;
    border-color: #e6a23c;
}

.lm-button-warning:focus,
.lm-button-warning:hover {
    background: #ebb563;
    border-color: #ebb563;
    color: #fff;
}

.lm-button-warning.is-active,
.lm-button-warning:active {
    background: #cf9236;
    border-color: #cf9236;
    color: #fff;
}

.lm-button-warning:active {
    outline: 0;
}

.lm-button-warning.is-disabled,
.lm-button-warning.is-disabled:active,
.lm-button-warning.is-disabled:focus,
.lm-button-warning.is-disabled:hover {
    color: #fff;
    background-color: #f3d19e;
    border-color: #f3d19e;
}

.lm-button-danger {
    color: #fff;
    background-color: #f56c6c;
    border-color: #f56c6c;
}

.lm-button-danger:focus,
.lm-button-danger:hover {
    background: #f78989;
    border-color: #f78989;
    color: #fff;
}

.lm-button-danger.is-active,
.lm-button-danger:active {
    background: #dd6161;
    border-color: #dd6161;
    color: #fff;
}

.lm-button-danger:active {
    outline: 0;
}

.lm-button-danger.is-disabled,
.lm-button-danger.is-disabled:active,
.lm-button-danger.is-disabled:focus,
.lm-button-danger.is-disabled:hover {
    color: #fff;
    background-color: #fab6b6;
    border-color: #fab6b6;
}

.lm-button-info {
    color: #fff;
    background-color: #909399;
    border-color: #909399;
}

.lm-button-info:focus,
.lm-button-info:hover {
    background: #a6a9ad;
    border-color: #a6a9ad;
    color: #fff;
}

.lm-button-info.is-active,
.lm-button-info:active {
    background: #82848a;
    border-color: #82848a;
    color: #fff;
}

.lm-button-info:active {
    outline: 0;
}

.lm-button-info.is-disabled,
.lm-button-info.is-disabled:active,
.lm-button-info.is-disabled:focus,
.lm-button-info.is-disabled:hover {
    color: #fff;
    background-color: #c8c9cc;
    border-color: #c8c9cc;
}


/**圆角**/

.lm-button.is-round {
    border-radius: 20px;
    padding: 12px 23px;
}

// 朴素按钮
.lm-button.is-plain {
    &:hover,
    &:focus {
        background: #fff;
        border-color: #489eff;
        color: #409eff;
    }
}

.lm-button-primary.is-plain {
    color: #409eff;
    background: #ecf5ff;
    &:hover,
    &:focus {
        background: #409eff;
        border-color: #409eff;
        color: #fff;
    }
}

.lm-button-success.is-plain {
    color: #67c23a;
    background: #c2e7b0;
    &:hover,
    &:focus {
        background: #67c23a;
        border-color: #67c23a;
        color: #fff;
    }
}

.lm-button-info.is-plain {
    color: #909399;
    background: #d3d4d6;
    &:hover,
    &:focus {
        background: #909399;
        border-color: #909399;
        color: #fff;
    }
}

.lm-button-warning.is-plain {
    color: #e6a23c;
    background: #f5dab1;
    &:hover,
    &:focus {
        background: #e6a23c;
        border-color: #e6a23c;
        color: #fff;
    }
}

.lm-button-danger.is-plain {
    color: #f56c6c;
    background: #fbc4c4;
    &:hover,
    &:focus {
        background: #f56c6c;
        border-color: #f56c6c;
        color: #fff;
    }
}

// circle属性
.lm-button.is-circle {
    width: 45px;
    border-radius: 50%;
    padding: 12px;
}

// icon配套样式
.lm-button [class*="lm-icon-"]+span {
    // margin-left: 5px;
}

// size属性
.lm-button-size-long {
    width: 100%;
}

.lm-button-size-large {
    width: 300px;
}

.lm-button-size-default {
    width: 150px;
}

.lm-button-size-small {
    width: 80px;
}

// 点击时抖动效果效果
.lm-button:active {
    transform: translateY(5px);
}